ElasticPress\Feature\Search\Weighting B

Total Complexity 83
Dependencies 1
Dependents 1
Total lines 640
Lines of code 373
Logical lines of code 169
Comment lines 194
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
recursively_inject_weights_to_fields()
B
42 20 49
do_weighting()
A
40 15 60
save_weighting_configuration()
A
46 14 36
render_settings_section()
A
43 12 51
render_settings_page()
S
44 5 49
get_weightable_fields_for_post_type()
S
45 3 47
get_post_type_default_settings()
S
51 3 31
handle_save()
S
61 4 12
post_type_has_fields()
S
57 3 16
setup()
S
71 1 5
get_weighting_configuration()
S
78 1 3
add_weighting_submenu_page()
S
65 1 10
redirect()
S
77 1 4